<div id="sendMailMsg"></div>

<button type="button" id="toggleEditor" onclick="YAHOO.dw.newmail.initRTE();">Toggle Rich Text Editor</button>

<form method="post" action="/mail/send/" onsubmit="sendMail(this); return false;">
	<label for="newmailfrom">From: </label><input type="text" name="newmailfrom" id="newmailfrom" value="laxman@parrotmail.com" /><br />
	<label for="newmailto">To: </label><input type="text" name="newmailto" id="newmailto" value="" /><br />
<!-- 	<label for="newmailcc">CC: </label><input type="text" name="newmailcc" id="newmailcc" /><br /> -->
	<label for="newmailsubject">Subject: </label><input type="text" name="newmailsubject" id="newmailsubject" value="test" /><br />
	<textarea name="editor" id="editor" style="height: 250px; width: 500px;">Test from django-webmail</textarea><br />
	<input type="hidden" id="usingRTE" name="usingRTE" value="true" />
	<input type="submit" value="Send" />
</form>

